﻿@using Forest.Web.Framework.UI;
@{

}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <link rel="shortcut icon" type="image/x-icon" href="@Url.Content("~/favicon.ico")" />
    <meta name="description" content="新世纪人才网|无锡新区人才网—无锡新区管委会下属唯一专业人力资源网站" />
    <meta name="keywords" content="新世纪人才网,无锡新区人才网,新世纪人才热线,找工作,找人才,求职,招聘，无锡市新区人力资源服务中心，无锡新区人才中心，无锡新区人才市场，无锡新区人力资源市场，无锡新区官方人才市场，无锡人才" />
    <meta property="qc:admins" content="1526267777663026375636" />
    @Html.NopCssFiles(ResourceLocation.Head)
    @Html.NopScripts(ResourceLocation.Head)
</head>
<body>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#btnSearch').bind('click', function () {
                var jobsInput = $.trim($('.jobsInput').val());
                if (jobsInput.length < 2) {
                    alert('请至少输入两个关键字！');
                }
                else {
                    var type = 'jobTitle';
                    if ($('.jobSel').attr('type') != 'job') {
                        type = 'companyName';
                    }
                    window.location.href = "/Catalog/SearchJobList?" + type + "=" + escape(jobsInput);
                }
                return false;
            });
        });

        function checkLogin() {
            var isAuthenticated = '@(Request.IsAuthenticated.ToString())' == 'True';
            if (!isAuthenticated) {
                openLoginDialog();
            }
            return isAuthenticated;
        }
    </script>
    <div id="wrap">
        @Html.Partial("Header")
        <div id="contents">
            @Html.Partial("SearchBar")
            @RenderBody()
            <div class="friendLinks">
                @Html.Action("FriendLinks", "Home", new { area = "" })
            </div>
        </div>
        @Html.Partial("Footer")
    </div>
    @Html.NopCssFiles(ResourceLocation.Foot)
    @Html.NopScripts(ResourceLocation.Foot)
    @Html.Action("PopupLogin", "Jobseeker", new { area = "" })
</body>
</html>
